package com.wdh.cloud.order.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "cfg.email")
@Data
public class EmailConfig {

    private String name;

    private String address;
}
